package com.example.tse.rbhttpservice.service.shopping.model;

import java.util.List;
import java.util.ArrayList;
import com.example.tse.rbhttpservice.service.RudderResponse;


/**
* 提交订单
* @author wliu
* edit tse
*/
public class ShoppingCommitGoods extends RudderResponse{

private String goodsId = "";


private String name = "";


private String price = "";


private String quantity = "";


private String cat = "";


/**
* @return goodsId
*/
public String getGoodsId() {
return this.goodsId;
}

/**
* @return goodsId
*/
public void setGoodsId(String goodsId) {
this.goodsId = goodsId;
}
/**
methodName    GoodsId
type          String
name          goodsId
defaultType   ""
*/

/**
* @return name
*/
public String getName() {
return this.name;
}

/**
* @return name
*/
public void setName(String name) {
this.name = name;
}
/**
methodName    Name
type          String
name          name
defaultType   ""
*/

/**
* @return price
*/
public String getPrice() {
return this.price;
}

/**
* @return price
*/
public void setPrice(String price) {
this.price = price;
}
/**
methodName    Price
type          String
name          price
defaultType   ""
*/

/**
* @return quantity
*/
public String getQuantity() {
return this.quantity;
}

/**
* @return quantity
*/
public void setQuantity(String quantity) {
this.quantity = quantity;
}
/**
methodName    Quantity
type          String
name          quantity
defaultType   ""
*/

/**
* @return cat
*/
public String getCat() {
return this.cat;
}

/**
* @return cat
*/
public void setCat(String cat) {
this.cat = cat;
}
/**
methodName    Cat
type          String
name          cat
defaultType   ""
*/

/**


    public static void filter(ShoppingCommitGoods shopping) {
        if (shopping.getGoodsId() == null) {
            shopping.setGoodsId("");
        }
        if (shopping.getName() == null) {
            shopping.setName("");
        }
        if (shopping.getPrice() == null) {
            shopping.setPrice("");
        }
        if (shopping.getQuantity() == null) {
            shopping.setQuantity("");
        }
        if (shopping.getCat() == null) {
            shopping.setCat("");
        }
    }

*/

}
